#include "Organism.hpp"
#include <iostream>
#include <list>
#include "Time.hpp"

int main()
{

  const int YEAR = 12;

  Organism rabbit("rabbit", 1.0/YEAR, YEAR);	

  std::list<Organism> orgs;
  int i;
  for(i = 0; i < 1000; i++) orgs.push_back(rabbit);

  Time time(0, 2000*YEAR);
  while(time.step(orgs)) {
    std::cout << time.getTime() << "\t" << orgs.size() << std::endl;
  }
  

  return 0;
}
